Release 10.1A: OpenEdge Development:
Progress 4GL Reference


VALID-EVENT function

Verifies whether a specified event is valid for a specified widget. For each type of widget, only certain events are valid. The function returns a value (TRUE/FALSE).

Note: Does not apply to SpeedScript programming.

Syntax

VALID-EVENT ( widget-handle , event-name [ , platform ] ) 

widget-handle

An expression that produces a value of type WIDGET-HANDLE. The value must be the handle of a valid widget.

event-name

A character-string expression that evaluates to the name of an event.

platform

A character-string expression that evaluates to the name of a platform type: GUI or TTY.

See also

LAST-EVENT system handle, LIST-EVENTS function, LIST-QUERY-ATTRS function, LIST-SET-ATTRS function, LIST-WIDGETS function


Copyright © 2005 Progress Software Corporation
www.progress.com
Voice: (781) 280-4000
Fax: (781) 280-4095